Auto merge of #2359 - matklad:metadata-no-deps, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 5 Feb 2016 20:52:49 +0000 (20:52 +0000)
committerbors <bors@rust-lang.org>
Fri, 5 Feb 2016 20:52:49 +0000 (20:52 +0000)
commitb5e0a45509e1a8ecee579f7c64fba360e355ab82
tree3248d4cc301769c40e9f1af9d250df0f38204837
parenta1c3ab367632d0a3f1178b4c09d80262755c004e
parent80e3c05beefad3a19b2cd694d0acfd4e09041fb0
Auto merge of #2359 - matklad:metadata-no-deps, r=alexcrichton

closes #2356. The output is not exactly the same as with `read-manifest`, because I wanted to include the `version` field.

Tests and implementation is a copy-paste from `read-manifest` except that [this line](https://github.com/rust-lang/cargo/blob/master/src/bin/read_manifest.rs#L36) is omited, because `root_package` [does update anyway](https://github.com/rust-lang/cargo/blob/master/src/cargo/sources/path.rs#L51).